
const webpack = require('webpack')
// const CompressionWebpackPlugin = require('compression-webpack-plugin')

// vue.config.js
module.exports = {
    productionSourceMap: false,   // 是否生成.map文件
    publicPath:"./",
    lintOnSave: false,
    chainWebpack: config => {
        config.entry('polyfill').add('@babel/polyfill');
        config.module
        .rule('images')
        .use('url-loader')
        .loader('url-loader')
        .tap(options => Object.assign(options, { limit: 2000 }))
    },
    configureWebpack: config => {

    },
};


